﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Adminitrator.master" AutoEventWireup="true" CodeFile="DetailCateClass.aspx.cs" Inherits="admin_CateClass_DetailCateClass" %>
 <%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content" Runat="Server">
<h1 id="h3Title" class="title" runat="server">
    Thêm mới danh mục tin tức</h1>
  <div class="detail ">
    <fieldset class="fieldset">
      <legend>Thông tin menu</legend>
          <table>
            <tr>
              <td>
                Danh mục cha :
              </td>
              <td>
                <asp:DropDownList ID="dropParent" runat="server" CssClass="dropDown" Width="160px" />
              </td>
            </tr>
            <tr>
              <td valign="top" style="padding-top: 8px">
                Tên danh muc :
              </td>
              <td>
                <asp:TextBox ID="txtName" runat="server" CssClass="textbox" />
              </td>
            </tr>
              <tr>
              <td valign="top" style="padding-top: 8px">
                Mô tả :
              </td>
              <td>
                <FCKeditorV2:FCKeditor ID="fckEditor" runat="server" Width="750px" 
                     Height="200px" BasePath="~/fckeditor/">
                   </FCKeditorV2:FCKeditor>
              </td>
              </tr>
            <tr><td>&nbsp;</td>
              <td>
                <asp:RadioButton ID="radioDeAnh" runat="server" GroupName="ChonAnh" OnCheckedChanged="radioBoAnh_CheckedChanged"
                  AutoPostBack="true" />Dùng ảnh đại diện
                <asp:RadioButton ID="radioBoAnh" runat="server" GroupName="ChonAnh" OnCheckedChanged="radioBoAnh_CheckedChanged"
                  AutoPostBack="true" Checked="true" />Không dùng ảnh đại diện
              </td>
            </tr>
            <tr id="trFileUpload" runat="server" visible="false">
              <td>
                Ảnh đại diện :
              </td>
              <td>
                <asp:FileUpload ID="fileUpload" runat="server" /> &nbsp;<small>Ảnh đại diện để kích cỡ 186 x 123 (px)</small>
              </td>
            </tr>
            <tr>
              <td>
                Tình trạng :
              </td>
              <td>
                <asp:RadioButton ID="radioEnable" GroupName="radioStatus" runat="server" Checked="true" />Bật
                <asp:RadioButton ID="radioVisible" GroupName="radioStatus" runat="server" />Tắt
              </td>
            </tr>           
          </table>
      <table style="width: 100%">
        <tr>
          <td style="width: 95px">
            &nbsp;
          </td>
          <td style="padding-top: 10px">
            <asp:Button ID="Button1" runat="server" Text="" CssClass="button btn-save" OnClick="btnOk_Click" />
            <input type="reset" value="" class="button btn-reset" />
            <asp:HyperLink ID="btnBack" runat="server" Text="Danh sách" CssClass="button btn-back"
              NavigateUrl="~/admin/Categories/List.aspx" />
          </td>
        </tr>
      </table>
    </fieldset>
  </div>
  <asp:Literal ID="lbThongBao" runat="server" />
</asp:Content>

